using System;
using System.Runtime.Serialization;

namespace FluentIoC
{
    [Serializable]
    public class FluentIoCException : Exception
    {
        public FluentIoCException()
        {
        }

        public FluentIoCException(string message, params object[] args)
            :this(string.Format(message, args))
        {
            
        }

        public FluentIoCException(string message) : base(message)
        {
        }

        public FluentIoCException(string message, Exception inner) : base(message, inner)
        {
        }

        protected FluentIoCException(
            SerializationInfo info,
            StreamingContext context)
            : base(info, context)
        {
        }
    }
}
